package com.atguigu.gulimall.product.feign;

import com.atguigu.common.to.SkuHasStockVo;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @作者：ldk
 * @email 2505496685@qq.com
 * @描述：默认描述
 * @创建时间：22:30 2020-11-03
 * @修改时间：22:30 2020-11-03
 * @修改描述：默认描述
 */
@FeignClient("gulimall-ware")
public interface WareFeignService {


    @PostMapping("ware/waresku/hasstock")
    R  getSkuHasStock(@RequestBody List<Long> skuIds);



}
